package com.yc.fav.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 云收藏-关联中间表-6
 * </p>
 *
 * @author ly
 * @since 2022-11-06
 */
@TableName("fav_tag_favorite")
public class FavTagFavorite implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号: 自增列
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标签编号: 关联 tag.id
     */
    private Integer tid;

    /**
     * 网站编号: 关联 favorite.id
     */
    private Integer fid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    @Override
    public String toString() {
        return "FavTagFavorite{" +
        "id=" + id +
        ", tid=" + tid +
        ", fid=" + fid +
        "}";
    }
}
